module.exports = {
  multipass: true, // boolean. false by default
  plugins: [
    // set of built-in plugins enabled by default
    'preset-default',

    // enable built-in plugins by name
    'prefixIds',

    // or by expanded notation which allows to configure plugin
    {
      name: 'sortAttrs',
      params: {
        xmlnsOrder: 'alphabetical'
      }
    },
    {
      name: 'removeAttrs',
      active: true,
      params: {
        elemSeparator: ',', //解析属性分隔符
        attrs: ['style', 'fill', 'xml:space']
      }
    }
  ]
}
